// 主页table
export const tableOption = {
    border: true,
    index: true,
    indexLabel: '序号',
    selection: true,
    stripe: true,
    menuAlign: 'center',
    editBtn: false,
    delBtn: false,
    menuWidth: 140,
    align: 'left',
    addBtn: false,
    tip: false,
    height: 'auto',
    calcHeight: 100,
    column: [
      {
        fixed: true,
        label: 'id',
        prop: 'userId',
        span: 24,
        hide: true,
        editDisplay: false,
        addDisplay: false,
        sortable: true
      },
      {
        sortable: true,
        label: '工号',
        prop: 'empNo',
        align: 'center',
        width: 150
      },
      {
        sortable: true,
        label: '姓名',
        prop: 'empName',
        align: 'center',
        width: 120
      },
      {
        sortable: true,
        label: '性别',
        prop: 'empSex',
        align: 'center',
        width: 120
      },
      {
        sortable: true,
        label: '手机号码',
        prop: 'empPhone',
        align: 'center',
        width: 150
      },
      {
        sortable: true,
        label: '所属部门',
        prop: 'deptName',
        align: 'center',
        width: 200
      },
      {
        sortable: true,
        label: '系统用户',
        prop: 'sysUserId',
        align: 'center',
        width: 120
      },
      {
        sortable: true,
        label: '操作人',
        prop: 'updateUser',
        align: 'center',
        width: 120
      },
      {
        sortable: true,
        label: '创建时间',
        prop: 'createTime',
        align: 'center',
        width: 150
      },
      {
        sortable: true,
        label: '备注',
        prop: 'remark',
        align: 'center',
        width: 200
      }
    ]
  };
  
  // 主页头部搜索表单
  export const filterSys = {
    filterOption: {
      card: false,
      emptyBtn: false,
      submitBtn: false,
      labelWidth: 0,
      remote: false,
      searchMenuSpan: 6,
      column: [
        {
          label: '工号',
          prop: 'empNo',
          span: 6
        },
        {
          label: '姓名',
          prop: 'empName',
          span: 6
        },
        {
          label: '所属组织',
          prop: 'companyCode',
          type: 'select',
          span: 6
        },
      ]
    }
  };
  